nav.view-nav-bar{
  background-color: var(--bg2);
  color:var(--fg2);
  width:100%;
  height:32px;
  padding-bottom: 4px;
  margin:-15px 0 32px;
}

.enclosure-label-actions{
  position: absolute;
  right: 16px;
}

.view-nav-bar .view-nav-btn{
  /*display:inline-block;*/
  height:40px;
  text-transform: capitalize !important;
  /*font-weight:500;
  padding:0 16px;
  text-align:center;*/
}

.view-card{
  max-width:960px;
  min-width:700px;
  margin: 0 auto;
  min-height:480px;
  padding:0;
}

.view-card .mat-toolbar{
  color: var(--fg2);
  /*border-bottom:solid 1px var(--lines);*/
  background-color: unset;
}

.view-card #disks-overview{
  height:304px;
  /*background-color:rgba(0, 0, 0, 0.85);*/
  position: relative;
  /*color:#ccc;*/
  color:var(--fg2);
  cursor:default;
  user-select:none;
  overflow:hidden;
}

.view-card .expanders .caption,
.view-card .expanders canvas{
  opacity:0;
}

.view-card #disks-details{
  height:250px;
}

.view-card #disks-details-header{
  font-size: 1.15rem;
  /*border-top:solid 1px var(--lines);*/
  border-bottom:solid 1px var(--lines);
  padding:12px 16px;
  /*background-color: rgba(0,0,0,0.05);*/
}

.view-card #disks-details,
.view-card #disks-details-header{
  background: var(--bg2);
}

.view-card .tiles{
  text-align: center;
  border-left:solid 1px var(--lines);
}

.view-card .tiles:first-child{
  border-left: none;
}

.view-card .details-wrapper{
  width: 100%;
  min-height: 400;
}

.view-card .tiles.active{
  background-color:rgba(0,0,0,0.1);
  background-color:var(--contrast-darker);
}

.view-card .primary-number{
  font-size: 3.25rem;
  font-weight: 100;
}

.view-card .title{
  font-size: 1rem;
}

.view-card .subtitle{
  font-size: 0.65rem;
  opacity: 0.85;
}

.view-card .tiles .mat-button{
  margin: 16px;
}

.view-card .disk-actions{
  margin:16px;
  text-align: center;
}

.view-card .disk-actions button{
  margin:4px 16px;
}

.view-card #disks-details-header {
  position:relative;
}

.view-card #disks-details-header.details {
  padding-left:56px;
}

.view-card #disks-details-header .back{
  cursor:pointer;
  position:absolute;
  border-radius: 50%;
  width:24px;
  height:24px;
  top:8px;
  left:12px;
  padding:4px;
  background: var(--primary);
}

.view-card .disk-advanced-details .detail{
  text-align:left;
  margin:8px 0;
}

.view-card .disk-advanced-details .detail .label{
  font-size:100%;
  font-weight:500;
}

.view-card .disk-advanced-details .detail .value{
  text-align:left;
  font-weight:300;
  font-size: 120%;
  line-height: 85%;
  word-break: break-word;
  /*
  text-align: left;
  font-weight: 300;
  font-size: 120%;
  line-height: 85%;
   */
}

.view-card #view-selector{
}

.view-card .disk-advanced-details .detail{
  padding:8px 16px;
}

.view-card .disk-basic-details .capacity{
  font-weight: 500;
  font-size: 120%;
}

.view-card .dom-overlay{
  width:100%;
  height: 100%;
  position:absolute;
  z-index:3;
}

.view-card .dom-overlay .content{
  opacity:0; /* animations will change this */
  text-align:center;
  position:absolute;
  padding:3px;
}

.view-card .dom-overlay .content .legend{
  text-align:left;
  width: fit-content;
  margin: 0 auto;
}

.view-card .dom-overlay.expanders .content{
  width:100%;
}

.view-card .dom-overlay.stage-left,
.view-card .dom-overlay.stage-right{
  position:absolute;
  display:block;
  width:25%;
}

.view-card .dom-overlay.stage-right{
  /*right: 0;*/
  left:calc(75%);
}

.view-card .dom-overlay.stage-right .vdev-type{
  border-bottom:solid 1px rgba(255,255,255,0.5);
  text-transform:capitalize;
}

.view-card .caption.dom-overlay{
  height:auto;
  bottom:20px;
  text-align:center;
  opacity:0.5;
  z-index:2;
}


.view-card .model.dom-overlay{
  height:auto;
  /*top:12px;*/
  text-align:center;
  position: absolute;
  left: 0;
  z-index: 3;
}

.view-card .model.dom-overlay img.logo.mark {
  height:30px;
  position:relative;
  top:4px;
  left: -8px;
}

.view-card .model.dom-overlay img.logo.type {
  height: 18px;
  position: relative;
  left: 2px;
  top: 0px;
  margin-right: 12px;
}

.view-card .model.dom-overlay .text {
  font-size:20px;
}

div.vdev-disk {
  /*border-left: solid 2px var(--blue);*/
  padding:0 8px 0 0;
  margin:0;
}

.view-card .dom-overlay.stage-right.list > div{
  text-align:left;
}

.view-card .dom-overlay.stage-right.list .swatch{
  border-radius:50%;
  width:10px;
  height:10px;
  display: inline-block;
  margin-right: 12px;
}

.view-card .dom-overlay.stage-right .vdev-disk .swatch{
  border-radius:50%;
  width:6px;
  height:6px;
  display: inline-block;
  margin: 0px 8px 2px 0;
}

/*.view-card .mat-toolbar#Disks-toolbar,*/
.view-card mat-card-content#Disks-content {
  display:none;
}

.view-card mat-card-content#Disks-content.Disks {
  display:block;
}


/*.view-card#Disks .mat-toolbar#Disks-toolbar,*/
.view-card#Disks .mat-card-content#Disks-content{
  opacity:1;
  position:static;
  background: var(--contrast-darkest);
}

.semibold{
  font-weight:500;
}

.disks-overview-wrapper{
  /*background:#000;*/
}

/* lt-lg */
.view-card.md{
  width:750px;
}

.view-card.sm
.view-card.xs{
  width:640px;
}

.view-card #disks-overview svg,
.view-card #disks-overview canvas{
  position:relative;
}

.view-card .dom-overlay#visualizer{
  z-index:2;
}

.view-card.rackmount .dom-overlay#visualizer{
  width:auto;
}

/* MINI OVERRIDES */
.view-card.mini {
  /*color: #fff;*/
  min-width: 960px;
}

.view-card.mini .alert{
  color:var(--accent);
}

.view-card.mini .online{
  color:var(--green);
}

.view-card.mini ul.disk-stats{
  margin-left:32px
}

.view-card.mini .capacity{
  margin-top:16px
}

.view-card.mini .dom-overlay#visualizer{ left: 0 !important; }

.view-card.mini #legend,
.view-card.mini #disks-overview,
.view-card.mini #disks-details,
.view-card.mini .dom-overlay#visualizer,
.view-card.mini #general-overview,
.view-card.mini #drive-temps {
  /*background-color: var(--contrast-darker);*/
}

.view-card.mini #legend {
  position:absolute;
  width:60%;
  padding:16px;
  z-index: 12;
}

.view-card.mini #disks-overview {
  height: calc(600px - 96px);
  margin-top:48px;
}

.view-card.mini.mini-xl #disks-overview {
  height: calc(640px - 96px);
}

.view-card.mini #disks-details,
.view-card.mini .dom-overlay#visualizer{
  height: calc(600px - 48px);
}

.view-card.mini.mini-xl #disks-details,
.view-card.mini.mini-xl .dom-overlay#visualizer{
  height: calc(640px - 48px);
}

.view-card.mini #general-overview { 
  height: calc(260px - 16px - 48px);
}

.view-card.mini #drive-temps {
  height: calc(300px - 16px - 48px);
}

.view-card.mini.mini-xl #drive-temps {
  height: calc(320px - 16px - 48px);
}

.view-card.mini #disks-details{
  padding:16px;
  background-color: unset;
}

.view-card.mini #disks-details,
.view-card.mini #disks-overview{
  padding-bottom: 64px;

}

.view-card.mini #disks-details .back-btn{
  background: unset !important;
}

.view-card.mini #disks-details li{
  margin:6px 0;
}

.mini div.header-container{
  position:relative;
}

.mini h3.header{
  padding-bottom: 4px;
  border-bottom:solid 1px var(--lines);
}

.mini .header-container .mat-button.back-btn{
  position:absolute;
  right:0;
  top: -10px;
}

.mini .legend-item{
  display: inline-block;
  margin-right:12px;
}

.mini .legend-item .swatch{
  width: 8px;
  height: 8px;
  float: left;
  border-radius: 6px;
  margin: 6px;
}

.mini .disk-basic-details{
  padding:8px;
}

.mini .overlay{
  position:absolute;
  z-index:3;
  min-width:25%;
  height: 100%;
}

.mini .overlay.names{
  min-width:20%;
}

.mini .overlay.status{
  min-width:30%;
}

.mini .overlay.status .status-text{
  display: block;
  left: 32px;
  position: relative;
  bottom: 26px;
}

.mini .no-temp{
  margin-top: 8px;
}

.mini .slot-label{
  border-radius: 50%;
  text-align: center;
  padding: 2px 0px 16px 0px;
  font-size: 0.65rem;
  width: 18px;
  height: 18px;
}

.mini .mat-card-content{
  background-color: var(--contrast-color-darker);
  height: 600px;
  min-height: 600px;
  background-color: var(--contrast-darker);
}

/* END MINI OVERRIDES */

.view-card.md .dom-overlay.stage-left, .view-card.md .dom-overlay.stage-right,
.view-card.md .dom-overlay .visualizer{
  transform: scale3D(0.9, 0.9, 1); 
}

.view-card.xs .dom-overlay.stage-left, .view-card.xs .dom-overlay.stage-right,
.view-card.sm .dom-overlay.stage-left, .view-card.sm .dom-overlay.stage-right,
.view-card.xs .dom-overlay .visualizer, .view-card.sm .dom-overlay .visualizer{
  transform: scale3D(0.9, 0.9, 1); 
}

.view-card.gt-md .dom-overlay.stage-left,
.view-card.gt-md .dom-overlay.stage-right,
.view-card.gt-md .dom-overlay .visualizer{
  transform: scale3D(1, 1, 1); 
}

.view-card .caption.dom-overlay.front-rear-toggle{
  opacity:1;
  text-align:center;
  bottom:10px;
  width:100%;
  background-color:rgba(0,0,0,0);
  z-index:20;
}

.front-rear-toggle button{
  margin:0 8px;
  color:#fff;
}
.front-rear-toggle button:hover{
  background-color:rgba(255,255,255,0.25);
}
